<?php
require_once '../DataAccessTier/NguoiDungDAO.php';

class NguoiDungBUS{
	private $objND;
	
	public function __construct(){
		$this->objND = new NguoiDungDAO();
	}
	
	//Láº¥y thÃ´ng tin ngÆ°á»�i dÃ¹ng theo mÃ£ ngÆ°á»�i dÃ¹ng
	public function getNguoiDungByMaND($maND){
		return $this->objND->getNguoiDungByMaND($maND);
	}
	
	//Lấy toàn bộ người dùng
	public function getNguoiDung(){
		return $this->objND->getNguoiDung();
	}
	
	//delete from nguoidung
	public function delete($maND){
		$this->objND->delete($maND);
	}
}